import java.awt.Graphics;

import javax.swing.JComponent;


public class StaticText extends JComponent {
	String _contents;
	int _x;
	int _y;
	
	public StaticText(String contents, int x, int y) {
		_contents = contents;
		_x = x;
		_y = y;
	}
	
	
	
	@Override
	public void paintComponent(Graphics g) {
		g.drawString(_contents, _x, _y);
		
	}
	
	
	
	
	
}
